export class Result {
    public code!: number;
    public msg!: string;
    public data!: any;
}

export class PageQuery {
    public page?: number;
    public pageSize?: number;

    public constructor(page?: number, pageSize?: number) {
        this.page = page;
        this.pageSize = pageSize;
    }
}

export class Dict {
    public key!: string;
    public value!: string;
    public label!: string;
}

export enum DictType {
    DICT_TYPE = 'DICT_TYPE',
    USER_STATUS = 'USER_STATUS',
    ROLE = 'ROLE',
}
